package com.cooldatasoft.base;

import java.util.List;
/**
 * 
 * @author fatih mehmet ucar
 *
 * @param <T>
 */
public interface RootDAO <T> {

	public void save(T entity);
	public void update(T entity);
	public void saveOrUpdate(T entity);
	public void delete(T entity);
	public T load(Integer id);
	public T get(Integer id);
	public void saveOrUpdateAll(List<T> entityList);
	public List<T> listAll();
	public List find(String queryString);
	
}
